package com.messe.base.models;

import java.sql.Timestamp;
import java.util.HashSet;
import java.util.Set;

/**
 * 报销单
 * BudgetPurchase entity. @author MyEclipse Persistence Tools
 */

public class BudgetExpense implements java.io.Serializable {

	/**
	 * 
	 */
	private static final long serialVersionUID = 2565533755354809036L;
	// Fields

	private String id;
	
	// 展会
	private Exhibition exhibition;

	// 主题
	private String title;
 
	// 申请人id
	private Person person;
	// 申请金额
	private Double money;
	// 税率
	private Double cess;
	// 申请理由
	private String reason;
	// 10 增值税专用发票 20 增值税普通发票
	private Integer type;
	// 状态
	private Integer status;//10 未提交 20 审批中 30 已批准 40 不同意 50 已支付 60 待修改  70 已取消
	
	// 描述
	private String description;
	// 第一审批人
	private Person firstApprPerson;
	// 第二审批人
	private Person secondApprPerson;
	// 第三审批人
	private Person threeApprPerson;
	// 第一审批时间
	private Timestamp firstStamp;
	// 第二审批时间
	private Timestamp secondStamp;

	// 第三审批时间
	private Timestamp threeStamp;
	// 创建时间
	private Timestamp createdStamp;
	// 更新时间
	private Timestamp lastUpdatedStamp;
	// 创建人
	private Person createdId;
	
	//报销单号
	private String expenseIndex;
	// 支付总金额
	private Double paidMoney;
	private BudgetCurrency budgetCurrency;
	
	private Set<BudgetPayment> budgetPayments = new HashSet<BudgetPayment>(0);
	
	private Set<BudgetApproval> budgetApprovals=new HashSet<BudgetApproval>(0);
	
	private Set<BudgetExpenseRel> budgetExpenseRels=new HashSet<BudgetExpenseRel>(0);
	
	
	public Set<BudgetApproval> getBudgetApprovals() {
		return budgetApprovals;
	}
	public void setBudgetApprovals(Set<BudgetApproval> budgetApprovals) {
		this.budgetApprovals = budgetApprovals;
	}
	
	
	public Set<BudgetPayment> getBudgetPayments() {
		return budgetPayments;
	}
	public void setBudgetPayments(Set<BudgetPayment> budgetPayments) {
		this.budgetPayments = budgetPayments;
	}
	public String getExpenseIndex() {
		return expenseIndex;
	}
	public void setExpenseIndex(String expenseIndex) {
		this.expenseIndex = expenseIndex;
	}
	public Double getPaidMoney() {
		return paidMoney;
	}
	public void setPaidMoney(Double paidMoney) {
		this.paidMoney = paidMoney;
	}
	public String getId() {
		return id;
	}
	public void setId(String id) {
		this.id = id;
	}

	public Person getPerson() {
		return person;
	}
	public void setPerson(Person person) {
		this.person = person;
	}
	public Double getMoney() {
		return money;
	}
	public void setMoney(Double money) {
		this.money = money;
	}
	public Double getCess() {
		return cess;
	}
	public void setCess(Double cess) {
		this.cess = cess;
	}
	public String getReason() {
		return reason;
	}
	public void setReason(String reason) {
		this.reason = reason;
	}
	public Integer getType() {
		return type;
	}
	public void setType(Integer type) {
		this.type = type;
	}
	public Integer getStatus() {
		return status;
	}
	public void setStatus(Integer status) {
		this.status = status;
	}

	public String getDescription() {
		return description;
	}
	public void setDescription(String description) {
		this.description = description;
	}
	public Person getFirstApprPerson() {
		return firstApprPerson;
	}
	public void setFirstApprPerson(Person firstApprPerson) {
		this.firstApprPerson = firstApprPerson;
	}
	public Person getSecondApprPerson() {
		return secondApprPerson;
	}
	public void setSecondApprPerson(Person secondApprPerson) {
		this.secondApprPerson = secondApprPerson;
	}
	public Timestamp getFirstStamp() {
		return firstStamp;
	}
	public void setFirstStamp(Timestamp firstStamp) {
		this.firstStamp = firstStamp;
	}
	public Timestamp getSecondStamp() {
		return secondStamp;
	}
	public void setSecondStamp(Timestamp secondStamp) {
		this.secondStamp = secondStamp;
	}
	public Timestamp getCreatedStamp() {
		return createdStamp;
	}
	public void setCreatedStamp(Timestamp createdStamp) {
		this.createdStamp = createdStamp;
	}
	public Timestamp getLastUpdatedStamp() {
		return lastUpdatedStamp;
	}
	public void setLastUpdatedStamp(Timestamp lastUpdatedStamp) {
		this.lastUpdatedStamp = lastUpdatedStamp;
	}
	public Person getCreatedId() {
		return createdId;
	}
	public void setCreatedId(Person createdId) {
		this.createdId = createdId;
	}
	
 
	public String getTitle() {
		return title;
	}
	public void setTitle(String title) {
		this.title = title;
	}
	public Person getThreeApprPerson() {
		return threeApprPerson;
	}
	public void setThreeApprPerson(Person threeApprPerson) {
		this.threeApprPerson = threeApprPerson;
	}
	public Timestamp getThreeStamp() {
		return threeStamp;
	}
	public void setThreeStamp(Timestamp threeStamp) {
		this.threeStamp = threeStamp;
	}
	public Set<BudgetExpenseRel> getBudgetExpenseRels() {
		return budgetExpenseRels;
	}
	public void setBudgetExpenseRels(Set<BudgetExpenseRel> budgetExpenseRels) {
		this.budgetExpenseRels = budgetExpenseRels;
	}
	public Exhibition getExhibition() {
		return exhibition;
	}
	public void setExhibition(Exhibition exhibition) {
		this.exhibition = exhibition;
	}
	public BudgetCurrency getBudgetCurrency() {
		return budgetCurrency;
	}
	public void setBudgetCurrency(BudgetCurrency budgetCurrency) {
		this.budgetCurrency = budgetCurrency;
	}
	
}